/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package neo.workforce.dao;

/**
 *
 * @author krisada
 */
public interface ActivityDAO {
    
    public Activity find(final long id);

    public Long save(final Activity activity);
    
    public boolean update(final Activity activity);
    
    public boolean remove(final long id);

    public java.util.List findByName(final String activityName, final long processId);

    public java.util.List findByName(final int begin, final int limit, final String actvityName, final long Id);
}
